package com.qzing.springbootmybatisdemo05.pojo;

//// 玩家投注订单表(玩家角色)
//// pools:bets (1:N)
//CREATE TABLE `gbets` (
//        `id` int(11) NOT NULL AUTO_INCREMENT,
//        `poolsid` int(11) NOT NULL,
//        `betuser` varchar(255) NOT NULL COMMENT '玩家用户(地址)',
//        `item` int(1) NOT NULL COMMENT '投注选项:3,1,0',
//        `amount` int(8) NOT NULL COMMENT '投注额',
//        PRIMARY KEY (`id`) USING BTREE
//        ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
//


/**
 * @Description: TODO
 * @author: scott
 * @date: 2023年02月06日 16:20
 */
public class GBets {
    private Integer id;
    private Integer poolsid;
    private String betuser;
    private Integer item;
    private Integer amount;

    public GBets(Integer id, Integer poolsid, String betuser, Integer item, Integer amount) {
        this.id = id;
        this.poolsid = poolsid;
        this.betuser = betuser;
        this.item = item;
        this.amount = amount;
    }

    public GBets() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPoolsid() {
        return poolsid;
    }

    public void setPoolsid(Integer poolsid) {
        this.poolsid = poolsid;
    }

    public String getBetuser() {
        return betuser;
    }

    public void setBetuser(String betuser) {
        this.betuser = betuser;
    }

    public Integer getItem() {
        return item;
    }

    public void setItem(Integer item) {
        this.item = item;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "GBets{" +
                "id=" + id +
                ", poolsid=" + poolsid +
                ", betuser='" + betuser + '\'' +
                ", item=" + item +
                ", amount=" + amount +
                '}';
    }
}
